package com.sfzy.mapper;

import com.sfzy.entity.Certificate;
import com.sfzy.entity.Chapters;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
@Mapper
public interface ChaptersMapper{
    //增加Chapters
    int insertChapters(Chapters chapters);
    //删除
    int deleteChapters(int id);
    //修改
    int updateChapters(Chapters chapters);
    //根据id查询
    List<Chapters> selectChaptersById3(int id);
    //分页查询
    List<Chapters> selectAllChapters3(Chapters chapters);
}
